package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.UserEntiretyDao;
import io.wdb.modules.generator.generator.entity.UserEntiretyEntity;
import io.wdb.modules.generator.generator.service.UserEntiretyService;



@Service("userEntiretyService")
public class UserEntiretyServiceImpl implements UserEntiretyService {
	@Autowired
	private UserEntiretyDao userEntiretyDao;
	
	@Override
	public UserEntiretyEntity queryObject(Long id){
		return userEntiretyDao.queryObject(id);
	}
	
	@Override
	public List<UserEntiretyEntity> queryList(Map<String, Object> map){
		return userEntiretyDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userEntiretyDao.queryTotal(map);
	}
	
	@Override
	public void save(UserEntiretyEntity userEntirety){
		userEntiretyDao.save(userEntirety);
	}
	
	@Override
	public void update(UserEntiretyEntity userEntirety){
		userEntiretyDao.update(userEntirety);
	}
	
	@Override
	public void delete(Long id){
		userEntiretyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		userEntiretyDao.deleteBatch(ids);
	}
	
}
